package com.alibaba.otter.manager.web.enums;

public enum ResultCodeEnum {

    SUCCESS(0,"成功"),
    RELOAD(2,"要刷新页面"),
    FAIL(1,"失败");

    /**
     * 状态码
     */
    private final int code;

    /**
     * 描述
     */
    private final String desc;


    ResultCodeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
